package gamecenter.gc.mapper;

import gamecenter.gc.bean.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Comment_Mapper {
    public Comment get_Comment(@Param("user_name") String name, @Param("game_name") String game_name);
    public List<Comment> get_all_On_Comment();
    public List<Comment> get_Game_Comment(@Param("game_name") String game_name);
    public void add_Comment(@Param("com") Comment com);
    public void modify_Comment(@Param("com") Comment com);
    public void del_Comment(@Param("com") Comment com);
}
